package cn.lovefix.org.mapper;
import cn.lovefix.org.domain.Novel;
import cn.lovefix.org.query.QueryNovel;


import java.util.List;

public interface NovelMapper {
    //查询列表
    List<Novel> findAll();
    //删除用户
    void del(Long mId);
    //修改用户
    void update(Novel movie);
    //添加用户
    void add(Novel movie);
    //分页展示
    List<Novel> query(QueryNovel query);
    //查询总条数
    public Integer queryBycount(QueryNovel query);

}
